import ShooterPlant from "../component/plant/ShooterPlant.js";
import {ANIMS_PATH} from "./path.js";

export const ZombieConfig={
    "BucketheadZombie":{name:"BucketheadZombie",haveDie:false,haveLostHead:false},
    "ConeheadZombie":{name:"ConeheadZombie",haveDie:false,haveLostHead:false},
    "FlagZombie":{name:"FlagZombie",haveDie:false,haveLostHead:true},
    "NewspaperZombie":{name:"NewspaperZombie",haveDie:true,haveLostHead:true},
    "NormalZombie":{name:"Zombie",haveDie:true,haveLostHead:true},
}
// - **SHOOTER**：能够射击僵尸并造成伤害的植物。
// - **PRODUCER**：产生阳光以供其他植物使用的植物。
// - **DEFENSE**：用于防御，吸收伤害或阻挡僵尸的植物。
// - **EXPLOSIVE**：能够造成范围伤害的植物，通常用于一次性攻击。
// - **EATER**：可以吞噬前方僵尸的植物。
// - **CONTROL**：能够减缓或控制僵尸移动的植物。
//RepeaterPea
export const PlantValueMap = {
    PEASHOOTER: { HP: 10, name: 'PEASHOOTER', anims: "Peashooter", pace: 100, type: 'SHOOTER',seed:ANIMS_PATH.Bullets.PeaNormal.name,seedNum:1 },
    SNOWPEA: { HP: 10, name: 'SNOWPEA', anims: "SnowPea", pace: 175, type: 'SHOOTER',seed:ANIMS_PATH.Bullets.PeaIce.name,seedNum:1 },
    REPEATERPEA: { HP: null, name: 'REPEATERPEA', anims: "RepeaterPea", pace: 200, type: 'SHOOTER',seed:ANIMS_PATH.Bullets.PeaNormal.name,seedNum:2 },

    SUNFLOWER: { HP: 10, name: 'SUNFLOWER', anims: "SunFlower", pace: 50, type: 'PRODUCER' },
    WALLNUT: { HP: null, name: 'WALLNUT', anims: "Wallnut", pace: 50, type: 'DEFENSE' },
    CHERRYBOMB: { HP: null, name: 'CHERRYBOMB', anims: "CherryBomb", pace: 150, type: 'EXPLOSIVE' },
    THREEPEASHOOTER: { HP: null, name: 'THREEPEASHOOTER', anims: "ThreePeashooter", pace: 325, type: 'SHOOTER' },
    CHOMPER: { HP: null, name: 'CHOMPER', anims: "Chomper", pace: 150, type: 'EATER' },
    PUFFSHROOM: { HP: null, name: 'PUFFSHROOM', anims: "PuffShroom", pace: 0, type: 'SHOOTER' },
    POTATOMINE: { HP: null, name: 'POTATOMINE', anims: "PotatoMine", pace: 25, type: 'EXPLOSIVE' },
    SQUASH: { HP: null, name: 'SQUASH', anims: "Squash", pace: 50, type: 'EXPLOSIVE' },
    SPIKEWEED: { HP: null, name: 'SPIKEWEED', anims: "Spikeweed", pace: 100, type: 'DEFENSE' },
    JALAPENO: { HP: null, name: 'JALAPENO', anims: "Jalapeno", pace: 125, type: 'EXPLOSIVE' },
    SCAREDYSHROOM: { HP: null, name: 'SCAREDYSHROOM', anims: "ScaredyShroom", pace: 25, type: 'SHOOTER' },
    SUNSHROOM: { HP: null, name: 'SUNSHROOM', anims: "SunShroom", pace: 25, type: 'PRODUCER' },
    ICESHROOM: { HP: null, name: 'ICESHROOM', anims: "IceShroom", pace: 75, type: 'CONTROL' },
    HYPNOSHROOM: { HP: null, name: 'HYPNOSHROOM', anims: "HypnoShroom", pace: 75, type: 'CONTROL' },
    WALLNUTBOWLING: { HP: null, name: 'WALLNUTBOWLING', anims: "WallnutBowling", pace: 0, type: 'DEFENSE' },
    REDWALLNUTBOWLING: { HP: null, name: 'REDWALLNUTBOWLING', anims: "RedWallnutBowling", pace: 0, type: 'DEFENSE' }
};
